package com.campus.backend.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "用户信息", description = "用户信息")
@Data
public class UserInfoVo {

//    @ApiModelProperty("token，调用接口时放到header请求头中")
//    private String token;

    @ApiModelProperty("用户id")
    private Integer id;

    @ApiModelProperty("登录用户名，唯一")
    private String username;

    @ApiModelProperty("用户真实姓名")
    private String realName;

    @ApiModelProperty("电子邮箱")
    private String email;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("账号状态：1-启用, 0-禁用")
    private Integer status;

    @ApiModelProperty("头像URL")
    private String avatar;

    @ApiModelProperty("是否超级管理员：1-是, 0-否")
    private Integer isSuperAdmin;


}
